Ext.define('dg.view.usuarios.form.ComboUsuarios', {
    extend: 'Ext.form.field.ComboBox',

    alias:'widget.combousuarios',

    //queryMode :'local',

    
    initComponent: function (){

        Ext.apply(this, {
            store: Ext.create('dg.store.usuarios.StoreUsuarios'),
            displayField:'nombre',
            valueField: 'id_usuario',
            pageSize: 5
        });

        this.callParent();

        this.on("select", function (combo, recs){
            console.info(recs);
        });
    }
});